emergency system on trains